package com.example.news.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.news.pojo.News;
import com.example.news.pojo.NewsType;
import com.example.news.pojo.Result;

import java.util.List;

public interface NewsTypeService extends IService<NewsType> {
    Page<NewsType> searchPageType(News news, Integer pageNum, Integer pageSize);


    void saveNewType(NewsType newsType);

    void removeNewTypeByIds(List<Long> ids);
}
